import http from '~/api/request';

export const tool = {
    getCategories(): Promise<ApiResponse> {
        return http.get("/article/blog/tools")
    },

    getList(category: string): Promise<ApiResponse> {
        return http.get("/article/blog/tools/" + category)
    },
}   